package com.bootssm.pojo;

public class CategoryVO {
    private String categoryName;
    private Integer page;
    private Integer start;//接收前端传递的页码参数 计算开始位置
    private Integer size=5;//每页显示条数


    public CategoryVO() {
    }

    public CategoryVO(String categoryName, Integer page, Integer start, Integer size) {
        this.categoryName = categoryName;
        this.page = page;
        this.start = start;
        this.size = size;
    }

    /**
     * 获取
     * @return categoryName
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * 设置
     * @param categoryName
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * 获取
     * @return page
     */
    public Integer getPage() {
        return page;
    }

    /**
     * 设置
     * @param page
     */
    public void setPage(Integer page) {
        this.page = page;
    }

    /**
     * 获取
     * @return start
     */
    public Integer getStart() {
        return start;
    }

    /**
     * 设置
     * @param start
     */
    public void setStart(Integer start) {
        this.start = start;
    }

    /**
     * 获取
     * @return size
     */
    public Integer getSize() {
        return size;
    }

    /**
     * 设置
     * @param size
     */
    public void setSize(Integer size) {
        this.size = size;
    }

    public String toString() {
        return "CategoryVO{categoryName = " + categoryName + ", page = " + page + ", start = " + start + ", size = " + size + "}";
    }
}
